package org.linlinjava.litemall.db.service;

import org.linlinjava.litemall.db.dao.AgedmallDeliveryManInfoMapper;
import org.linlinjava.litemall.db.dao.app.AppDeliveryManInfoMapper;
import org.linlinjava.litemall.db.domain.AgedmallDeliveryManInfo;
import org.linlinjava.litemall.db.domain.AgedmallOrderMsg;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class AgedmallDeliveryManInfoService {
    @Resource
    private AgedmallDeliveryManInfoMapper agedmallDeliveryManInfoMapper;
    @Resource
    private AppDeliveryManInfoMapper appDeliveryManInfoMapper;

    public AgedmallDeliveryManInfo findById(Integer id) {
        return agedmallDeliveryManInfoMapper.selectByPrimaryKey(id);
    }

    public AgedmallDeliveryManInfo queryByStoreId(String rfid) {
        return appDeliveryManInfoMapper.queryByStoreId(rfid);
    }
     public List<AgedmallOrderMsg> selectOrderMsgList(String rfid) {
        return appDeliveryManInfoMapper.selectOrderMsgList(rfid);
    }


}
